--[[
Licenced under GNU GPL.
For more information, see LICENCE in the main folder.
--]]
require "./AI/USER_AI/easyai/util/List.lua"

--[[
Contains global variables.

@version	0.1 23 Aug 2011
@author		rodmp
--]]
-- Objects for instantiations.
homun = {}
owner = {}
myEnemy = {}
myState = {}
ResCmdList = List.new()

-- GetV Constants
V_OWNER			= 0
V_POSITION		= 1
V_TYPE			= 2
V_MOTION		= 3
V_ATTACKRANGE		= 4
V_TARGET		= 5
V_SKILLATTACKRANGE	= 6
V_HOMUNTYPE		= 7
V_HP			= 8
V_SP			= 9
V_MAXHP			= 10
V_MAXSP			= 11

-- Homunculus Types
LIF			= 1
AMISTR			= 2
FILIR			= 3
VANILMIRTH		= 4
LIF2			= 5
AMISTR2			= 6
FILIR2			= 7
VANILMIRTH2		= 8
LIF_H			= 9
AMISTR_H		= 10
FILIR_H			= 11
VANILMIRTH_H		= 12
LIF_H2			= 13
AMISTR_H2		= 14
FILIR_H2		= 15
VANILMIRTH_H2		= 16

-- Motion Contants
MOTION_STAND		= 0
MOTION_MOVE		= 1
MOTION_ATTACK		= 2
MOTION_DEAD    	 	= 3
MOTION_ATTACK2		= 9 

-- Commands (Temporary look)
NONE_CMD			= 0
MOVE_CMD			= 1
STOP_CMD			= 2
ATTACK_OBJECT_CMD	= 3
ATTACK_AREA_CMD		= 4
PATROL_CMD			= 5
HOLD_CMD			= 6
SKILL_OBJECT_CMD	= 7
SKILL_AREA_CMD		= 8
FOLLOW_CMD			= 9--